package com.dongdongqiang.daogenerator.handler;

import com.dongdongqiang.daogenerator.exception.DDQException;

import java.lang.reflect.InvocationTargetException;
import java.sql.Connection;
import java.sql.SQLException;
import java.util.List;

/**
 * 插入
 * Created by ZZB on 2017/9/24.
 */
public interface IInsertHandler {
    int insert(Object o, Connection connection) throws DDQException;
    int[] insertList(List<?> objects, Connection connection) throws DDQException;
}
